package com.example.swimmingpool.entity.teach;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.example.swimmingpool.entity.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class Teach extends BaseModel {
    /**
     * 老师id也是员工id
     */
    private Long teacherId;

    /**
     * 课程id
     */
    private Long courseId;
    /**
     * 课程状态{0-未开课,1-进行中,2-已结束}
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer teachStatus;
}
